<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?=base_url()?>system/application/views/css/admin.css" rel="stylesheet" type="text/css" />
<title>无标题文档</title>
</head>

<body>
<div class="wrap">
<table id="mytable" cellspacing="0"> 

<tr> 
<th scope="col">id</th> 
<th scope="col">类别</th> 
<th scope="col">标题</th> 
<th scope="col">待定</th> 
<th scope="col">修改</th>
<th scope="col">删除</th>
 <?php foreach($query->result() as $row) : ?>
<tr> 
<td class="row"><? echo $row->newsid; ?></td> 
<td class="row">待定</td> 
<td class="row"><?php echo $row->title;?></td> 
<td class="row">待定</td> 
<td class="row"><?php echo anchor('update/index/'.$row->newsid,'修改') ?></td> 
<td class="row"><?php echo anchor('delete/delete_news/'.$row->newsid,'删除') ?></td> 

</tr> 
<?php endforeach; ?>
</table> 

</div>

    
      
   
</body>
</html>